package com.huluobo.a2207douyindemo.message;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import com.hyphenate.easeui.modules.conversation.EaseConversationListFragment;

public class MessageFragment extends EaseConversationListFragment {
    @Override
    public void onItemClick(View view, int position) {
        super.onItemClick(view, position);
        String conversationId = "admin";
        int chatType = 1;
        Intent intent = new Intent(requireContext(), ChatActivity.class);
        Bundle bundle = new Bundle();
        bundle.putString("conversationId", conversationId);
        bundle.putInt("chatType", chatType);
        intent.putExtras(bundle);
        startActivity(intent);
    }
}